package org.shoukaiseki.test.business.user.service;

import org.shoukaiseki.test.business.user.model.SysUser;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService{
    @Override
    public SysUser verification(String loginid, String password) {
        if(loginid!=null&&"123456".equals(password)){
            SysUser sysUser = new SysUser();
            sysUser.setLoginid(loginid);
            sysUser.setId(1);
            return sysUser;
        }
        return null;
    }
}
